]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Support "dry-run" builds of toolbox image
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Sep 2025 11:20:43 +0000 (13:20 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 12 Sep 2025 14:28:32 +0000 (14:28 +0000)
This will allow testing the image build without actually updating
the image in the registry.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3876>

.gitlab-ci/build-toolbox-image.sh

index bddb9ea3fedcceff71449471db477b22b39867de..7bc13a96aca64bf143e518178dc4c2eb219b541c 100755 (executable)
@@ -103,4 +103,6 @@ podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
 
 build_container
 
-podman push $TOOLBOX_IMAGE
+if [[ -z "$DRY_RUN" ]]; then
+  podman push $TOOLBOX_IMAGE
+fi